﻿namespace uTrade.Core
{
    /// <summary>
    /// 买卖方向
    /// </summary>
    public enum Direction
    {
        /// <summary>
        /// 买
        /// </summary>
        Buy,

        /// <summary>
        /// 卖
        /// </summary>
        Sell
    }

    /// <summary>
    /// 开平
    /// </summary>
    public enum Offset
    {
        /// <summary>
        ///
        /// </summary>
        Open,

        /// <summary>
        ///
        /// </summary>
        Close,
    }

    /// <summary>
    /// 时间类型
    /// </summary>
    public enum IntervalType
    {
        /// <summary>
        /// 秒
        /// </summary>
        Sec,

        /// <summary>
        /// 分
        /// </summary>
        Min,

        /// <summary>
        /// 时
        /// </summary>
        Hour,

        /// <summary>
        /// 日
        /// </summary>
        Day,

        /// <summary>
        /// 周
        /// </summary>
        Week,

        /// <summary>
        /// 月
        /// </summary>
        Month,

        /// <summary>
        /// 年
        /// </summary>
        Year
    }
}